﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace FarmSmartSleep.Common.Dtos
{
    public class GroupDto
    {
        public int SleepInforId { get; set; }//档案编号
        public string? EarNumber { get; set; }//耳号
        public int VarietyId { get; set; }//品种编号
        public string ElectronicEarTag { get; set; }//电子耳标号    
        public int GradeId { get; set; }//基因等级编号
        public string? SheepImage { get; set; }//羊只图片
        /// <summary>
        /// 性别  1--公  2--母
        /// </summary>
        public int Gender { get; set; }
        public int SleepTypeId { get; set; }//羊只类型
        /// <summary>
        /// 在场状态 0-待入场 1-在场
        /// </summary>
        public int StayStatus { get; set; }
        /// <summary>
        /// 羊场外键
        /// </summary>
        public int FarmId { get; set; }
        /// <summary>
        /// 栋舍外键
        /// </summary>
        public int? RecordcottageId { get; set; }
        /// <summary>
        /// 栏位外键
        /// </summary>
        public int? FieIdId { get; set; }
        /// <summary>
        /// 父耳号
        /// </summary>
        public string? FarEarNumber { get; set; }
        /// <summary>
        /// 母耳号
        /// </summary>
        public string? MoEarNumber { get; set; }
        /// <summary>
        /// 出生日期
        /// </summary>
        public DateTime SleepBirthDate { get; set; }
        /// <summary>
        /// 入场日期
        /// </summary>
        public DateTime SleepEntryDate { get; set; }
        /// <summary>
        /// 出生场地
        /// </summary>
        public string SleepBirthPlace { get; set; }
        /// <summary>
        /// 出生重
        /// </summary>
        public decimal SleepBirthWeight { get; set; }
        /// <summary>
        /// 备注
        /// </summary>
        public string SleepNotes { get; set; }
        /// <summary>
        /// 出生状态
        /// </summary>
        public int? BirthdayId { get; set; }
        /// <summary>
        /// 繁殖状态
        /// </summary>
        public int? BreedStatuId { get; set; }
        /// <summary>
        /// 状态天数
        /// </summary>
        public int? BreedDayNum { get; set; }
        /// <summary>
        /// 是否妊检
        /// </summary>
        public int? CheckPre { get; set; }
        /// <summary>
        /// 生产等级
        /// </summary>
        public int? ProductLevel { get; set; }
        /// <summary>
        /// 销售等级
        /// </summary>
        public int? BuyLevel { get; set; }
        /// <summary>
        /// 断奶重量
        /// </summary>
        public decimal? WeanWeight { get; set; }
        /// <summary>
        /// 断奶日期
        /// </summary>
        public DateTime? WeanData { get; set; }
        public int AgeDay { get; set; }
        public int Count {  get; set; }
        public string GenderName {  get; set; }
        public string VarietyName { get; set;}
    }
}
